package com.gitee.wsl.db.dsl

class Join(var joinType: Select.JOIN,
           var table: String,
           var superSelect: Select) {
    var qbf: MutableMap<String, String> = hashMapOf<String, String>()

    fun on(left: String, right: String): Join {
        qbf[left] = right
        return this
    }

    fun l(): Select {
        return superSelect
    }

}
